package com.nuoniu.sibanyun.entity.vo.reportVo;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * @ClassName ProductionPickAbnormalVo
 * @Description TODO
 * @Author 白强
 * @Date 2022/6/25 15:35
 * @Version 1.0
 **/
@Data
@ApiModel("生产领料异常表,生产领料差异汇总表")
public class ProductionPickAbnormalVo {

    @ApiModelProperty(value = "生产车间")
    @TableField("office_id")
    private Integer officeId;

    @ApiModelProperty(value = "生产车间名称")
    @TableField("office_name")
    private String officeName;

    @ApiModelProperty(value = "物料id（产品ID）")
    @TableField("inventory_id")
    private Integer inventoryId;

    @ApiModelProperty(value = "物料名称（产品名称）")
    @TableField("inventory_name")
    private String inventoryName;

    @ApiModelProperty(value = "物料编码（产品编码）")
    @TableField("inventory_code")
    private String inventoryCode;

    @ApiModelProperty(value = "规格型号")
    @TableField("inventory_specification")
    private String inventorySpecification;

    @ApiModelProperty(value = "主计量名称")
    @TableField("base_unit_name")
    private String baseUnitName;

    @ApiModelProperty(value = "数量")
    @TableField("base_quantity")
    private BigDecimal baseQuantity;

    @ApiModelProperty(value = "开工日期")
    @TableField("start_date")
    private LocalDate startDate;

    @ApiModelProperty(value = "完工日期")
    @TableField("finish_date")
    private LocalDate finishDate;

    @ApiModelProperty(value = "预计开工日期")
    @TableField("expect_start_date")
    private LocalDate expectStartDate;

    @ApiModelProperty(value = "预计完工日期")
    @TableField("expect_finish_date")
    private LocalDate expectFinishDate;

    @ApiModelProperty(value = "材料ID")
    private String materialInventoryId;

    @ApiModelProperty(value = "材料名称")
    private String materialInventoryName;

    @ApiModelProperty(value = "材料编码")
    private String materialInventoryCode;

    @ApiModelProperty(value = "材料规格型号")
    private String materialInventorySpecification;

    @ApiModelProperty(value = "材料主计量名称")
    private String materialBaseUnitName;

    @ApiModelProperty(value = "计划数量")
    private BigDecimal plannedQuantity;

    @ApiModelProperty(value = "领料数量")
    private BigDecimal cumPickQuantity;

    @ApiModelProperty(value = "补料数量")
    private BigDecimal cumRepairQuantity;

    @ApiModelProperty(value = "退料数量")
    private BigDecimal cumRetQuantity;


}
